﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Edu.Migrations
{
    public partial class xunzhang : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "AbilityType",
                table: "AppStudyTasks",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<string>(
                name: "Abilitys",
                table: "AppStudents",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "Job",
                table: "AppStudents",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AbilityType",
                table: "AppStudyTasks");

            migrationBuilder.DropColumn(
                name: "Abilitys",
                table: "AppStudents");

            migrationBuilder.DropColumn(
                name: "Job",
                table: "AppStudents");
        }
    }
}
